package com.helei.cloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Component
@FeignClient(value = "CLOUD-PAYMENT-HYSTRIX-PAYMENT",fallback = PaymentHystrixservice.class)
public interface IPaymentHystrixservice {

    @GetMapping("aa")
    public String paymenInfo_OK(@RequestParam("id")Integer id);

    @GetMapping("bb")
    public String bb(@RequestParam("id")Integer id);



}
